package com.railway.dao;

import java.util.List;

import com.railway.bean.Ticket;

public interface TicketDao {

	/**删除票
	 * @param ticket_id
	 * @return
	 * 
	 */
	int deleteTicket(int ticket_id);
	
	/**查询所有票
	 * @param train_id
	 * @return
	 */
	List<Ticket> selectTicket(int train_id);
}
